package service;

import pojo.Student;

import java.util.List;

public interface StudentService {

    // 定义行为  crud
    // 查询用户
    List<Student> findAll(Student student,int offset,int pageSize);


    // 查询用户总数
    int count(Student student);


    int deleteStudentById(Student student);

    int addStudent(Student student);

    Student findStudentById(int s_id);

    int updateStudent(Student student);

}
